How to program a list in prolog that has n number of elements

join shbcf.ru